package com.promise.jokerdream.model.currency

import kotlinx.serialization.Serializable

/**
 * 货币兑换数量枚举
 */
@Serializable
enum class CurrencyExchangeAmount(val displayName: String, val value: Int) {
    HUNDRED("100斗豆", 100),
    FIVE_HUNDRED("500斗豆", 500);
    
    companion object {
        fun fromValue(value: Int): CurrencyExchangeAmount? {
            return values().find { it.value == value }
        }
    }
}
